package cn.org.eshow.bean.query;

import java.util.Date;

/**
 * 地址查询对象
 */
public class AddressQuery extends BaseQuery {

    public Integer id;// id
    public Date startAddTime;//开始添加时间
    public Date endAddTime;//结束添加时间
    public Date startUpdateTime;//开始更新时间
    public Date endUpdateTime;//结束更新时间
    public String addr;// 地址
    public String zip;// 邮编
    public String name;// 姓名
    public String mobile;// 手机
    public Double lng;//经度
    public Double lat;//纬度
    public String weixin;// 微信
    public Boolean ifDefault;// 是否默认地址
    public Boolean enabled;//是否可用
    public String province;// 城市
    public String city;// 城市
    public String district;// 区县
    public Integer userId;//用户ID

    public AddressQuery() {
        super();
    }

    public AddressQuery(Boolean enabled) {
        this.enabled = enabled;
    }

    public AddressQuery(String mobile) {
        this.mobile = mobile;
    }

    public AddressQuery(Integer userId) {
        this.userId = userId;
    }

    public AddressQuery(Integer userId, Boolean enabled) {
        this.userId = userId;
        this.enabled = enabled;
    }

    public AddressQuery(Boolean ifDefault, Integer userId) {
        this.ifDefault = ifDefault;
        this.userId = userId;
    }

    public Date getStartAddTime() {
        return startAddTime;
    }

    public void setStartAddTime(Date startAddTime) {
        this.startAddTime = startAddTime;
    }

    public Date getEndAddTime() {
        return endAddTime;
    }

    public void setEndAddTime(Date endAddTime) {
        this.endAddTime = endAddTime;
    }

    public Date getStartUpdateTime() {
        return startUpdateTime;
    }

    public void setStartUpdateTime(Date startUpdateTime) {
        this.startUpdateTime = startUpdateTime;
    }

    public Date getEndUpdateTime() {
        return endUpdateTime;
    }

    public void setEndUpdateTime(Date endUpdateTime) {
        this.endUpdateTime = endUpdateTime;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public Boolean getIfDefault() {
        return ifDefault;
    }

    public void setIfDefault(Boolean ifDefault) {
        this.ifDefault = ifDefault;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

}